.scrollbar() {
  &::-webkit-scrollbar {
    position: absolute;
    width: 6px;
    height: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background-color: rgba(50, 50, 50, 30%);
    border-radius: 1em;
  }

  &::-webkit-scrollbar-track {
    //background-color: rgba(50, 50, 50, 0.1);
    //border-radius: 1em;
  }
}

.non-scrollbar() {
  &::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

html {
  .scrollbar();
}

div {
  .scrollbar();
}

main {
  max-width: 100% !important;
}

.ant-spin-nested-loading {
  height: 100%;

  .ant-spin-container {
    height: 100%;
  }
}

.ant-table {
  scrollbar-color: unset !important;
}

.ant-pro-layout {
  height: 100%;
  position: relative;

  .ant-layout {
    height: 100%;
  }

  .ant-pro-layout-container {
    overflow: auto;
  }

  .ant-pro-layout-bg-list {
    position: absolute;
  }

  .ant-pro-sider.ant-pro-sider-fixed {
    position: absolute;
  }

}
